define(["knockout", "durandal/app",'jquery'], function(ko, app,$) {
//	var composition = require("durandal/composition");
	var val = ko.observable('hhhhhh');
	var view = ko.observable(0);
	var i =0;
	//仅用于演示，实际已经加在main.js
	return {
		val:val,
		view:view,
		change:function(){
			i+=1;
			if(i===4){
				i=0
			}
			view(i);
		},
		activate: function() {

		},
		binding: function() {

		},
		bindingComplete: function() {

		},
		attached: function() {
			
		},
		compositionComplete: function() {

		},
		detached: function() {

		}
	};
})